You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TSimpleCriticalSection Structure > TSimpleCriticalSection Methods > TSimpleCriticalSection.Enter Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TSimpleCriticalSection.Enter Method

Enter the critical section.

Syntax
C#
Visual Basic
public static void Enter(ref int csLock, [In] int TrueValue);

The order in which the threads will pass is not deterministic. The waiting loop is using Sleep(0).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!